Automattic\WooCommerce\GoogleListingsAndAds\Product\Attributes\AttributeManager S

Total Complexity 25
Dependencies 4
Dependents 4
Total lines 218
Lines of code 84
Logical lines of code 51
Comment lines 74
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
update()
S
60 4 12
map_attribute_types()
S
59 3 14
get()
S
64 3 9
get_all()
S
64 3 10
get_all_values()
S
64 3 10
get_value()
S
74 2 4
get_attribute_types_map()
S
72 2 6
validate()
S
69 2 6
delete()
S
75 1 4
get_attribute_types_for_product()
S
80 1 3
get_attribute_types_for_product_types()
S
70 1 6